package net.whzjkj.gateway.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModelProperty;
import com.fasterxml.jackson.annotation.JsonFormat;
import java.math.BigDecimal;
import lombok.Data;
import lombok.experimental.Accessors;

import java.util.Date;

/**
 * 里程校正
 */
@Data
@Accessors(chain = true)
public class ObdMileageAdjust extends Model<ObdMileageAdjust> {

	@TableId(value = "id", type = IdType.ID_WORKER_STR)
	private String id;
	
	@ApiModelProperty("车辆id")
	private String vehicleId;
	
	@ApiModelProperty("总里程")
	private BigDecimal totalMileage;
	
	@ApiModelProperty("OBD里程")
	private BigDecimal obdMileage;
	
	@ApiModelProperty("仪表登记")
	private BigDecimal dashboardMileage;
	
	@ApiModelProperty("误差率")
	private BigDecimal errorRate;
	
	@ApiModelProperty("读表时间")
	private Date readTime;
	
	private Integer status;
	
	private String creater;
	
	private Date createTime;
	
}